class Auth:
    """fastapi 认证"""
    def __init__(self, oauth2_scheme: str = None):
        self.oauth2_scheme = None
        if oauth2_scheme:
            self.init(oauth2_scheme)

    def init(self, oauth2_scheme):
        self.oauth2_scheme = oauth2_scheme


auth = Auth()
